/*
	PlAr is Platform Arena: a 2D multiplayer shooting game
	Copyright (c) 2010, Antonio Ragagnin <spocchio@gmail.com>
    All rights reserved.

    This file is licensed under the New BSD License.
*/


package plar.ClientServer;

import java.awt.Point;
import java.io.Serializable;
import plar.core.SpriteSet;


/**
 * This is an element that the CLIENT will show in the screen
 * does not care what Element of the Level is shown, just contains
 * the sprites to show to the user
 *
 * @author Antonio Ragagnin
 *
 */
public class ShownElement implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
     * position on the screen (in pixel)
     */
    public Point position;
    public float theta=0;
    public SpriteSet spriteSet;

    public ShownElement(Point p, SpriteSet ss) {
        position = p;
        spriteSet = ss;
    }

    public ShownElement(Point p,SpriteSet ss,float t) {
        this(p,ss);
        theta=t;

    }

}
